package com.yanqu.road.entity.activity.hsisland.data;

public class HsIslandBuffData {

    /**
     * buff id
     */
    private int buffId;

    /**
     * 可使用次数
     */
    private int times;

    public HsIslandBuffData() {
    }

    public HsIslandBuffData(int buffId) {
        this.buffId = buffId;
        this.times = 0;
    }

    public int getBuffId() {
        return buffId;
    }

    public void setBuffId(int buffId) {
        this.buffId = buffId;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public synchronized void reTimes() {
        this.times--;
    }
}
